<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>作业1</title>
    <style>
         .fu{
             background-color: #e8e8e8;
             width: 280px;
             border: 10px solid #e8e8e8;
             margin-bottom: 30px;
         }

         .z2{
             text-align: center;
         }
         .z1{
             width:220px;
             background-color: #e8e8e8;
             border: 5px solid #F00;
            margin: 10px 20px 30px 40px;
         }

    </style>
</head>
<body>
<div class="fu">
    <div class="z2"><img src="1.png" width="280px"></div>
    <div class="z3"></div>
    <div class="z1">我是文字</div>
</div>
<br>
<div class="fu">
    <div class="z2"><img src="1.png" width="280px"></div>
    <div class="z3"></div>
    <div class="z1">我是文字</div>
</div>
</body>
</html>